package net.joey.httpclient;

import java.io.IOException;

public class HCMain {
	
	/**
	 * @param args
	 * @throws IOException 
	 */
	public static void main(String[] args) throws IOException {
//		do1();
		doThread();
	}
	
	private static void do1() throws IOException{
		MyClient m = new MyClient();
//		m.loginRenRen();
		System.out.println(m.getBody(""));
	}
	private static void doThread() throws IOException{
		int i = 2;
		while(i-- > 0){
			System.out.println("--------------");
			Thread t = new Thread(new ClientThread(i));
			t.start();
		}
	}

}
